/**
 *
 * @description:
 * @author: junyong.hong
 * @createTime: 2019/10/25
 * @version: 1.0.0.0
 * @history:
 *    1、
 *    2、
 *
 */
import Vue from 'vue'
import Router from 'vue-router'
import index from '../pages/index.vue'
import activity from '../pages/activity.vue'
import pay from '../pages/pay.vue'

Vue.use(Router);

const routes = [
    {
        path: '/index',
        name: 'index',
        component: index,
        meta: {
            title: '首页'
        }
    },
    {
        path: '/pay',
        name: 'pay',
        component: pay,
        meta: {
            title: '充值'
        }
    },
    {
        path: '/activity',
        name: 'activity',
        component: activity,
        meta: {
            title: '活动'
        }
    }
]
const router = new Router({
    routes
})

export default router;